package com.xxq.semester.service.chat;

import com.xxq.semester.entity.chat.ChatMessages;
import com.xxq.semester.entity.chat.ChatSessions;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author saki
 * @since 2025-07-13
 */
public interface IChatSessionsService extends IService<ChatSessions> {
    List<ChatSessions> getByUserId(Integer id);
    boolean deleteByUserId(Integer id);
    boolean addChatSession(ChatSessions chatSessions);
}
